
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Csql%5CQueryManager%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:35 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:17 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="components3650.html" target="components">transfer.com.sql</a>
</span>
<BR>
Component QueryManager</H2>


<PRE>
<B>transfer.com.sql.QueryManager</B>
</PRE>


<HR>
Manages generated SQL queries


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="contentfea8.html" target="_self">QueryManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>(<a href="content2efb.html">Datasource</a> datasource,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="content41fe.html">TQLConverter</a> tqlConverter)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2efb.html" target="_self">Datasource</a></CODE></TD>
	<TD><CODE><B><A HREF="#getDatasource()">getDatasource</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_query" target="_self">query</a></CODE></TD>
	<TD><CODE><B><A HREF="#getObjectQuery()">getObjectQuery</A></B>(<a href="content7052.html">Object</a> object,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and runs the query for the TransferObject
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content20f8.html" target="_self">QueryBuilder</a></CODE></TD>
	<TD><CODE><B><A HREF="#getQueryBuilder()">getQueryBuilder</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content712d.html" target="_self">SQLPool</a></CODE></TD>
	<TD><CODE><B><A HREF="#getSQLPool()">getSQLPool</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_query" target="_self">query</a></CODE></TD>
	<TD><CODE><B><A HREF="#runSelect()">runSelect</A></B>(<a href="content7052.html">Object</a> object,&nbsp;<a href="nativetypes.html#detail_string">string</a> key,&nbsp;<a href="contentf179.html">SelectQuery</a> selectQuery)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs the SQL object
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setDatasource()">setDatasource</A></B>(<a href="content2efb.html">Datasource</a> Datasource)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setQueryBuilder()">setQueryBuilder</A></B>(<a href="content20f8.html">QueryBuilder</a> QueryBuilder)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setSQLPool()">setSQLPool</A></B>(<a href="content712d.html">SQLPool</a> SQLPool)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#throw()">throw</A></B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throws an Exception
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="getDatasource()"><!-- --></A><H3>
getDatasource</H3>

<PRE>
private <A HREF="content2efb.html" title="">Datasource</A> <B>getDatasource</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getObjectQuery()"><!-- --></A><H3>
getObjectQuery</H3>

<PRE>
public <A HREF="nativetypes.html#detail_query" title="">query</A> <B>getObjectQuery</B>(<a href="content7052.html">Object</a> object,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</PRE>
<DL>
  <DD>
  	
  	
		Creates and runs the query for the TransferObject
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content7052.html">Object</a> object</code> - The Object BO</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> key</code> - The id key for the data</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getQueryBuilder()"><!-- --></A><H3>
getQueryBuilder</H3>

<PRE>
private <A HREF="content20f8.html" title="">QueryBuilder</A> <B>getQueryBuilder</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getSQLPool()"><!-- --></A><H3>
getSQLPool</H3>

<PRE>
private <A HREF="content712d.html" title="">transfer.com.sql.collections.SQLPool</A> <B>getSQLPool</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="contentfea8.html" title="">QueryManager</A> <B>init</B>(<a href="content2efb.html">Datasource</a> datasource,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="content41fe.html">TQLConverter</a> tqlConverter)</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2efb.html">Datasource</a> datasource</code> - The datasource BO</DD>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> objectManager</code> - The object manager to query</DD>
			
			  <DD><code><a href="content41fe.html">TQLConverter</a> tqlConverter</code> - Converter for {property} statements</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="runSelect()"><!-- --></A><H3>
runSelect</H3>

<PRE>
public <A HREF="nativetypes.html#detail_query" title="">query</A> <B>runSelect</B>(<a href="content7052.html">Object</a> object,&nbsp;<a href="nativetypes.html#detail_string">string</a> key,&nbsp;<a href="contentf179.html">SelectQuery</a> selectQuery)</PRE>
<DL>
  <DD>
  	
  	
		Runs the SQL object
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content7052.html">Object</a> object</code> - The Object BO</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> key</code> - The if key for the data</DD>
			
			  <DD><code><a href="contentf179.html">SelectQuery</a> selectQuery</code> - The cached select object</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setDatasource()"><!-- --></A><H3>
setDatasource</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setDatasource</B>(<a href="content2efb.html">Datasource</a> Datasource)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2efb.html">Datasource</a> Datasource</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setQueryBuilder()"><!-- --></A><H3>
setQueryBuilder</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setQueryBuilder</B>(<a href="content20f8.html">QueryBuilder</a> QueryBuilder)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content20f8.html">QueryBuilder</a> QueryBuilder</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setSQLPool()"><!-- --></A><H3>
setSQLPool</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setSQLPool</B>(<a href="content712d.html">SQLPool</a> SQLPool)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content712d.html">SQLPool</a> SQLPool</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="throw()"><!-- --></A><H3>
throw</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>throw</B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</PRE>
<DL>
  <DD>
  	
  	
		Throws an Exception
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> type</code> - The type of exception</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> message</code> - The message to accompany the exception</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> detail=""]</code> - The detail message for the exception</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Csql%5CQueryManager%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:35 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>